package com.example.softwareengg;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;


public class HeaderFooter extends MainActivity implements OnClickListener  {
        public void onCreate(Bundle savedInstanceState) {
             super.onCreate(savedInstanceState);
             setContentView(R.layout.headerfooter);
             
             Button buttonsettings = (Button) findViewById(R.id.buttonsettings);
             
     		buttonsettings.setOnClickListener(this);
     		
        }
        
      public void onClick(View v) {
	        switch (v.getId()) {
	        case R.id.buttonsettings:
	        {
				   Intent intent = new Intent(HeaderFooter.this,ScreenSettings.class);
				    startActivity(intent);

	        }
	        	}
	        }
 }